"""
Hongyu (Vicky) Ye
02/15/2021
Section #03
Problem #4: Unit Conversion Calculator

1 mL = 0.202884 tsp
1 tbsp = 3 tsp
1 mL = 1000 microliter
1 mL = 1000000 nanoliter

"""



mL_convert = float(input("Enter a number of mL you like to convert:"))


tsp = mL_convert*0.202884
tbsp = tsp/3
uL = mL_convert*1000
nL = mL_convert*1000000

print ("--------------------------------------------------------------")
print ("\t", "\t", "mL Conversion Calculator")
print ("--------------------------------------------------------------\n")


print("How many mL would you like to convert? {:.0f}".format(mL_convert))
print("{:.2f} mL ...\n".format(mL_convert))

print("{:<20s}{:>20,.2f} tsp".format("... in teaspoons",tsp))

print("{:<20s}{:>20,.2f} tbsp".format("... in tablespoons",tbsp))

print("{:<20s}{:>20,.2f} uL".format("... in microliters",uL))

print("{:<20s}{:>20,.2f} nL".format("... in nanoliters",nL))



